package com.bytz.modules.cms.reseller.model;

import com.bytz.modules.cms.reseller.entity.CouponReseller;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;


@Data
@EqualsAndHashCode(callSuper = true)
public class CouponResellerModel extends CouponReseller {
    @ApiModelProperty(value = "优惠券添加数量", required = true)
    @Min(value = 1,message = "请添加优惠券数量")
    @Max(value = 100,message = "优惠券过多" )
    private Integer addCount;
}
